package com.ruoyi.carShop.mapper;

import com.ruoyi.system.api.domain.OrderDetails;
import com.ruoyi.system.api.domain.ServiceDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface ShopOrderDetailsMapper {
    public List<OrderDetails> selectOrderDetailsList(OrderDetails orderDetails);
    public OrderDetails  selectOrderDetailsByOrderDetailsId(Long orderDetailsId);
    public List<ServiceDetails> selectNameAndPrice(Long orderDetailsId);
    public  Integer updateVerificationById(@Param("orderDetailsId")Long orderDetailsId,@Param("verificationTime")Date verificationTime);
}
